package com.banmao.mall.service.client;

import com.banmao.mall.model.bo.client.coupon.CouponListBO;
import com.banmao.mall.model.pojo.Coupon;
import com.banmao.mall.model.vo.client.index.CouponVO;

import java.util.List;

public interface CouponService {

    public List<CouponVO> selectCouponsWithPageAndSize(Integer page, Integer size);

    public Integer receiveService(Integer userId, Integer couponId);

    public List<CouponVO> getUserCouponByStatus(Integer userId, CouponListBO couponListBO);

    public Integer exchangeService(Integer userId, String code);

    public List<CouponVO> CouponSelectlist(Integer userId,Integer cartId, Integer grouponRulesId);

}
